Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type hint transformation for sealed hierarchies #1093

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

vladimirkl
Copy link
Contributor

Hi, this PR adds support for transforming type hint values in sealed hierarchies using same approach as for @jsonMemberNames - via new annotation @jsonHintNames for sealed class / trait. This approach looks more maintainable than individual @jsonHint for each descendent, especially when supporting some naming convention in large hierarchy.
I also noticed similar feature request in discord, so I hope this PR will be useful not only for me: https://discord.com/channels/629491597070827530/733728086637412422/1221797252432007290

@vladimirkl vladimirkl requested a review from a team as a code owner April 19, 2024 15:01
@jdegoes jdegoes merged commit bc86948 into zio:series/2.x Apr 25, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants